﻿// need km.core.js
if (typeof $.JTQ == "undefined") {
    $.blockUI({ message: "Error: jtq.businessservice must be load jtq.core.js. <input type='button' value='OK' onclick='$.unblockUI();'>" });
}

(function($) {
    $.JTQ.Businessservice = {
        BusinessserviceUrl: "/JoyTalqWeb/service/service_businessservice.ashx",

        GetUrl: function() {
            return $.JTQ.Core.RootUrl + this.BusinessserviceUrl;
        },      
        GetAllCustomerList: function(callBack) {
            var param = "cmd=getallcustomerlist";   
            //alert(this.GetUrl());                    
            $.JTQ.Core.Post(this.GetUrl(), param, callBack);
        }        
    };
})(jQuery);

